package yyh.jaccard.bean;

public class ExpertCorePrescriptionBean {
	
	private String case_srccode; 
	private String inhosptial_id;
	private String transformed_gvalue;
	private String fangji_name;
	
	
	@Override
	public String toString() {
		return "ExpertCorePrescriptionBean [case_srccode=" + case_srccode
				+ ", inhosptial_id=" + inhosptial_id + ", transformed_gvalue="
				+ transformed_gvalue + ", fangji_name=" + fangji_name + "]";
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((case_srccode == null) ? 0 : case_srccode.hashCode());
		result = prime * result
				+ ((fangji_name == null) ? 0 : fangji_name.hashCode());
		result = prime * result
				+ ((inhosptial_id == null) ? 0 : inhosptial_id.hashCode());
		result = prime
				* result
				+ ((transformed_gvalue == null) ? 0 : transformed_gvalue
						.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		ExpertCorePrescriptionBean other = (ExpertCorePrescriptionBean) obj;
		if (case_srccode == null) {
			if (other.case_srccode != null)
				return false;
		} else if (!case_srccode.equals(other.case_srccode))
			return false;
		if (fangji_name == null) {
			if (other.fangji_name != null)
				return false;
		} else if (!fangji_name.equals(other.fangji_name))
			return false;
		if (inhosptial_id == null) {
			if (other.inhosptial_id != null)
				return false;
		} else if (!inhosptial_id.equals(other.inhosptial_id))
			return false;
		if (transformed_gvalue == null) {
			if (other.transformed_gvalue != null)
				return false;
		} else if (!transformed_gvalue.equals(other.transformed_gvalue))
			return false;
		return true;
	}
	
	public String getCase_srccode() {
		return case_srccode;
	}
	public void setCase_srccode(String case_srccode) {
		this.case_srccode = case_srccode;
	}
	public String getInhosptial_id() {
		return inhosptial_id;
	}
	public void setInhosptial_id(String inhosptial_id) {
		this.inhosptial_id = inhosptial_id;
	}
	public String getTransformed_gvalue() {
		return transformed_gvalue;
	}
	public void setTransformed_gvalue(String transformed_gvalue) {
		this.transformed_gvalue = transformed_gvalue;
	}
	public String getFangji_name() {
		return fangji_name;
	}
	public void setFangji_name(String fangji_name) {
		this.fangji_name = fangji_name;
	}

}
